package com.beichuan_travel.service.impl;

import com.beichuan_travel.mapper.SearchMapper;
import com.beichuan_travel.service.SearchService;

import javax.annotation.Resource;
import java.util.List;

public class SearchServiceImpl implements SearchService {

    @Resource
    SearchMapper searchMapper;

    @Override
    public List<String> querySearchHistory(int uid, int limit) {
        return searchMapper.queryHistory(uid, limit);
    }
}
